package com.store.framework.gui.model;

import java.math.BigInteger;


public class CalcModel {
	
	private static final String INITIAL_VALUE = "1";
	
	private BigInteger m_total;
	
	public CalcModel(){
		reset();
	}
	public void reset(){
		m_total = new BigInteger(INITIAL_VALUE);
	}
	public void multiply(String operand){
		m_total = this.m_total.multiply(new BigInteger(operand));
	}
	public void setValue(String value){
		this.m_total = new BigInteger(value);
	}
	public String getValue(){
		return this.m_total.toString();
	}
}
